﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FreeSql.DataAnnotations;

namespace shop.Model
{
    /// <summary> 快递账户 </summary>
    public class LogiInfo
    {
        [Column(IsPrimary = true, IsIdentity = true)]
        public int id { set; get; }

        /// <summary> 物流公司名称 </summary>
        [Column(StringLength = 100)]
        public string logistics_name { set; get; }


        /// <summary> , 对应旺店通数据表 logistics.logistics_id </summary>
        [Column(StringLength =50)]
        public int logistics_id { set; get; }

        /// <summary> , 对应旺店通数据表 logistics.logistics_no </summary>
        [Column(StringLength =50)]
        public string logistics_no { set; get; }



        /// <summary> 物流公司 </summary>
        [Column(StringLength = 300)]
        public string LogiCompany { set; get; }


        /// <summary> 快递账户, 快递老板 </summary>
        [Column(StringLength = 100)]
        public string LogiAcct { set; get; }


        /// <summary> 是否代发 </summary>
        public bool IsAgent { set; get; }

        [Column(StringLength = 500)]
        public string Remarks { get; set; }


        public int ItemId { set; get; }

        /// <summary>  </summary>
        public bool isdel { set; get; }


        public DateTime FTime { get; set; }

        /// <summary>  </summary>
        [Column(StringLength =100)]
        public string batch {  get; set; }  

        public LogiInfo Clone()
        {
            return this.MemberwiseClone() as LogiInfo;
        }

    }
}
